console.log("world");
var time = new Date();

function somefunction(){
    console.log(time.getMilliseconds());
}

var id = window.setInterval("somefunction()", 1000);

